package com.deyuanyun.pic.insp.mapper;

import com.deyuanyun.pic.insp.domain.DefectCross;
import com.github.pagehelper.Page;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

public interface DefectCrossMapper {
    int deleteByPrimaryKey(String id);

    int insert(DefectCross record);

    int insertSelective(DefectCross record);

    DefectCross selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DefectCross record);

    int updateByPrimaryKey(DefectCross record);
    
    Page<HashMap<String,Object>> getMain(HashMap<String, Object> map);
    
    public  Page<LinkedHashMap<String,Object>> findPage(HashMap<String, Object> map);



}